<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
    <title>导航栏</title>
    <style>
        a{
            color: black;
            text-decoration: none;
            display: block;
        }
        .nav{
            width: 600px;
            height: 30px;
            border-top: 3px solid orange;
            border-bottom: 3px solid black;
            display: flex;
            margin: 0 auto;
        }
        .nav div{
            flex: 1;
            text-align: center;
            line-height: 30px;
            background-color: white;
            transition: background-color 0.5s;
        }
        .nav div:hover{
            background-color: lightgray;
            font-weight: bold;
        }
    </style>
<head>
<body>
    <div class="nav">
        <div class="d1"><a href="https://www.qq.com/">首页</a></div>
        <div class="d2"><a href="https://www.sina.com.cn/">手机新浪网</a></div>
        <div class="d3"><a href="https://10086.cn/index/bj/index_100_100.html">移动客户端</a></div>
        <div class="d4"><a href="https://blog.csdn.net/">博客</a></div>
        <div class="d5"><a href="https://weibo.com/newlogin?url=">微博</a></div>
        <div class="d6"><a href="https://www.qq.com/">关注我</a></div>
    </div>
</body>
</html>